home *** CD-ROM | disk | FTP | other *** search
- Path: athena.ulaval.ca!news
- From: duchen00@gel.ulaval.ca (Francois Duchene)
- Newsgroups: comp.lang.c++
- Subject: Many instance of a class
- Date: Mon, 25 Mar 1996 23:50:51 GMT
- Organization: Universite Laval
- Message-ID: <4j7b28$8d4@athena.ulaval.ca>
- NNTP-Posting-Host: ragueneau.gel.ulaval.ca
- X-Newsreader: Forte Free Agent 1.0.82
-
- Hi everyone
-
- I am currently writing an object oriented program with Visual
- C++
- and I have a problem with classes and variables scope :
-
- I have four different classes. Three of them have member functions
- that must
- be able to access all member variables of the fourth class (let's call
- it
- "range"). The problem is that I need a hundread instances of the
- "range"
- class.
-
- I want to be able to access any member variable of an instance of
- "range"
- from within any of the three others classes (member functions).
-
- How can I do this?
-
- Thanks for any answer.
-
- Francois Duchene
- duchen00@gel.ulaval.ca
-
- N.B.: Please E-MAIL me since I don't read this group on a regular
- basis.
-
-
-
-
-